package com.softer.ztb.service.impl;

import com.softer.ztb.mapper.LoginMapper;
import com.softer.ztb.service.LoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
/**
 * LoginServiceImpl class
 * @author zcz
 * @date 2019/1/16
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Resource
    private LoginMapper loginMapper;


    @Override
    public int updateLastLoginTime(String userName) {
        return loginMapper.updateLastLoginTime(userName);
    }
}
